package com.jrx.anytxn.customer.dto.rights;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class CustomerRightRes implements Serializable {
    /**
     * 用户编号
     */
    private String userId;
    /**
     * 租户编号
     */
    private String tenantId;
    /**
     * 渠道编号
     */
    private String channel;
    /**
     * 业务日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date businessDate;
    /**
     * 权益列表
     */
    private List<CustRightRes> custRightList;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public Date getBusinessDate() {
        return businessDate;
    }

    public void setBusinessDate(Date businessDate) {
        this.businessDate = businessDate;
    }

    public List<CustRightRes> getCustRightList() {
        return custRightList;
    }

    public void setCustRightList(List<CustRightRes> custRightList) {
        this.custRightList = custRightList;
    }

}
